From: Siegfried-Angel Gevatter Pujals Date: Mon, 27 Jul 2009 16:18:17 +0000 (+0200) Subject: DocsWidget -> RecentDocsWidget X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~11189 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ff6ee2c0c2a4ab484ab63cf0fbe95a7c4e8b062d;p=gnome-shell.git DocsWidget -> RecentDocsWidget Rename DocsWidget to RecentDocsWidget (as widgets for most used docs, docs related to the currently open documents, etc. may be added in the future), and change the title so that it doesn't abbreviate 'Docs' (for consistency with the overlay). --- diff --git a/data/gnome-shell.schemas b/data/gnome-shell.schemas index f183cb6f5..bd42bfa0d 100644 --- a/data/gnome-shell.schemas +++ b/data/gnome-shell.schemas @@ -64,7 +64,7 @@ gnome-shell list string - [imports.ui.widget.ClockWidget,imports.ui.widget.AppsWidget,imports.ui.widget.DocsWidget] + [imports.ui.widget.ClockWidget,imports.ui.widget.AppsWidget,imports.ui.widget.RecentDocsWidget] The widgets to display in the sidebar diff --git a/js/ui/widget.js b/js/ui/widget.js index d4f661c31..cb41e83f2 100644 --- a/js/ui/widget.js +++ b/js/ui/widget.js @@ -327,17 +327,17 @@ AppsWidget.prototype = { } }; -function DocsWidget() { +function RecentDocsWidget() { this._init.apply(this, arguments); } -DocsWidget.prototype = { +RecentDocsWidget.prototype = { __proto__ : LauncherWidget.prototype, _init : function() { Widget.prototype._init.apply(this, arguments); - this.title = "Recent Docs"; + this.title = "Recent Documents"; this.actor = new Big.Box({ spacing: 2 }); this._recentManager = Gtk.RecentManager.get_default();